package auto.app.service;

import auto.app.controller.from.VariableAdd;
import auto.app.controller.from.VariableUpdate;
import auto.app.exetion.MainExection;
import auto.app.model.VariableCenter;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 杨森
 * @since 2022-08-17
 */
public interface VariableCenterService extends IService<VariableCenter> {

    public Boolean addVariable(VariableAdd variableAdd) throws MainExection;

    public VariableCenter detail(Integer variableId) throws MainExection;

    public Boolean updateVariable(VariableUpdate variableUpdate) throws MainExection;

}
